package com.creditnet.bmc.content.dao;

import com.creditnet.bmc.content.domain.ContentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


/**
 * Created by bjmaozhengwei on 2018/4/1.
 */
@Mapper
public interface ContentDao {
    ContentDO get(Long cid);

    List<ContentDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(ContentDO content);

    int update(ContentDO content);

    int remove(Long cid);

    int batchRemove(Long[] cids);
}
